package cn.edu.zjut.mina.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.edu.zjut.mina.po.Total;

public interface TotalRepository extends JpaRepository<Total, Integer>, JpaSpecificationExecutor <Total> {
//	@Query("select t from User u join u.every e join e.total t where u.autoid = :userId")
//	List<Total> findTotal(@Param("userId")Integer userId);
}
